package cn.cheln.explorer.cpnt.adapter;

import android.content.Context;
import android.database.Cursor;
import cn.cheln.explorer.beans.FileInfo;
import cn.cheln.explorer.ds.database.DatasrcTransferer;
import cn.cheln.support.ui.adapter.ItemDataSrc;
import java.util.List;
import java.util.Map;

public class CursorItemSrc extends ItemDataSrc
{
  private Context context;
  private int currindex;
  private String indexedColumnName;
  private int negativeCount;
  private Class<? extends FileInfo> targetclazz;

  public CursorItemSrc()
  {
  }

  public CursorItemSrc(Context paramContext, Cursor paramCursor, Map<String, Class> paramMap, Class<? extends FileInfo> paramClass)
  {
    this(paramContext, paramCursor, paramMap, paramClass, "");
  }

  public CursorItemSrc(Context paramContext, Cursor paramCursor, Map<String, Class> paramMap, Class<? extends FileInfo> paramClass, String paramString)
  {
    super(paramCursor, paramMap);
    this.targetclazz = paramClass;
    this.context = paramContext;
    this.indexedColumnName = paramString;
  }

  public CursorItemSrc(Context paramContext, Map<String, Class> paramMap, Class<? extends FileInfo> paramClass, String paramString)
  {
    super(paramMap);
    this.targetclazz = paramClass;
    this.context = paramContext;
    this.indexedColumnName = paramString;
  }

  public CursorItemSrc(List paramList)
  {
    super(paramList);
  }

  public Cursor getContentCursor()
  {
    return this.mCurrentCursor;
  }

  public Object getItem(int paramInt)
  {
    Object localObject = super.getItem(paramInt);
    if (localObject instanceof Cursor)
      localObject = DatasrcTransferer.mediaTransf(this.context, (Cursor)localObject, this.targetclazz);
    return localObject;
  }
}

/* Location:           H:\360云盘\lewa_explorer_3.0\bin\FileApp_orig_dex2jar.jar
 * Qualified Name:     cn.cheln.explorer.cpnt.adapter.CursorItemSrc
 * JD-Core Version:    0.5.2
 */